package com.wx.fresh.business.vo.storeVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 门店商品
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "门店商品",description = "门店商品")
public class BStoreProductVo {
    @ApiModelProperty(value = "商品id", example = "12")
    private Long id;
    @ApiModelProperty(value = "商品名称", example = "鸡蛋")
    private String name;
    @ApiModelProperty(value = "产地", example = "产地")
    private String originPlace;
    @ApiModelProperty(value = "品牌", example = "三元")
    private String brand;
    @ApiModelProperty(value = "商品类型Id", example = "13")
    private Long productTypeId;
    @ApiModelProperty(value = "规格", example = "盒")
    private String specs;
    @ApiModelProperty(value = "库存量", example = "500")
    private Long stock;
    @ApiModelProperty(value = "价格", example = "50")
    private BigDecimal price;
    @ApiModelProperty(value = "状态̬", example = "上架中")
    private Integer state;
}
